package com.example.demo.entity.pojo;

import java.io.Serializable;

/**
 * 会话信息(ChatSession)实体类
 *
 * @author makejava
 * @since 2025-06-19 17:16:43
 */
public class ChatSession implements Serializable {
    private static final long serialVersionUID = -89802875341669258L;
/**
     * 用户ID
     */
    private String userId;
/**
     * 会话ID
     */
    private String sessionId;
/**
     * 会话主题
     */
    private String title;
/**
     * 会话类型: 0=普通助手(默认), 1=Java编程助手
     */
    private Integer sessionType;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSessionType() {
        return sessionType;
    }

    public void setSessionType(Integer sessionType) {
        this.sessionType = sessionType;
    }
}

